/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.catosist.run.services;

/**
 *
 * @author igorov
 */
public class ResultadoCompraDTO {
    private int anho;
    private String mes;
    private Float sumadeclarada;
    private Float sumanodeclarada;

    private final String[] meses = {"Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio",
                            "Julio", "Agosto", "Setiembre", "Octubre", "Noviembre", "Diciembre"};

    public ResultadoCompraDTO(int anho, int mes, Float sumadeclarada, Float sumanodeclarada) {
        this.anho = anho;
        this.mes = meses[mes - 1];
        this.sumadeclarada = sumadeclarada;
        this.sumanodeclarada = sumanodeclarada;
    }

    public int getAnho() {
        return anho;
    }

    public void setAnho(int anho) {
        this.anho = anho;
    }

    public String getMes() {
        return mes;
    }

    public void setMes(String mes) {
        this.mes = mes;
    }

    public Float getSumadeclarada() {
        return sumadeclarada;
    }

    public void setSumadeclarada(Float sumadeclarada) {
        this.sumadeclarada = sumadeclarada;
    }

    public Float getSumanodeclarada() {
        return sumanodeclarada;
    }

    public void setSumanodeclarada(Float sumanodeclarada) {
        this.sumanodeclarada = sumanodeclarada;
    }
    
}
